A Linear Time Implementation of SPQR-Trees
نویسندگان
چکیده
The data structure SPQR-tree represents the decomposition of a biconnected graph with respect to its triconnected components. SPQR-trees have been introduced by Di Battista and Tamassia [8] and, since then, became quite important in the field of graph algorithms. Theoretical papers using SPQR-trees claim that they can be implemented in linear time using a modification of the algorithm by Hopcroft and Tarjan [15] for decomposing a graph into its triconnected components. So far no correct linear time implementation of either triconnectivity decomposition or SPQR-trees is known to us. Here, we show the incorrectness of the Hopcroft and Tarjan algorithm [15], and correct the faulty parts. We describe the relationship between SPQR-trees and triconnected components and apply the resulting algorithm to the computation of SPQR-trees. Our implementation is publically available in AGD [1].
منابع مشابه
An SPQR-Tree Approach to Decide Special Cases of Simultaneous Embedding with Fixed Edges
We present a linear-time algorithm for solving the simultaneous embedding problem with fixed edges (SEFE) for a planar graph and a pseudoforest (a graph with at most one cycle) by reducing it to the following embedding problem: Given a planar graph G, a cycle C of G, and a partitioning of the remaining vertices of G, does there exist a planar embedding in which the induced subgraph on each vert...
متن کاملRolling Upward Planarity Testing of Strongly Connected Graphs
A graph is upward planar if it can be drawn without edge crossings such that all edges point upward. Upward planar graphs have been studied on the plane, the standing and rolling cylinders. For all these surfaces, the respective decision problem NP-hard in general. Efficient algorithms exist if the graph contains a single source and a single sink, but only for the plane and standing cylinder He...
متن کاملC-Planarity of C-Connected Clustered Graphs Part II – Testing and Embedding Algorithm
We present a linear time c-planarity testing and embedding algorithm for c-connected clustered graphs. The algorithm is based on a characterization of the clustered planarity given in a companion paper [3]. The algorithm is reasonably easy to implement, since it exploits as building blocks simple algorithmic tools like the computation of lowest common ancestors, of minimum and maximum spanning ...
متن کاملPlanarity Testing for C-Connected Clustered Graphs
We present a linear time algorithm for testing clustered planarity of c-connected clustered graphs and for computing a clustered planar embedding for such graphs. Our algorithm uses a decomposition of the input graph based on SPQR-trees and is the first linear time algorithm for clustered planarity testing. We define a normal form of clustered embeddings and show that a clustered graph is clust...
متن کاملImplementing a Partitioned 2-Page Book Embedding Testing Algorithm
In a book embedding the vertices of a graph are placed on the “spine” of a “book” and the edges are assigned to “pages” so that edges on the same page do not cross. In the PARTITIONED 2-PAGE BOOK EMBEDDING problem egdes are partitioned into two sets E1 and E2, the pages are two, the edges of E1 are assigned to page 1, and the edges of E2 are assigned to page 2. The problem consists of checking ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2000